export default [
  {path: '/', redirect: '/nlp'},
  {
    path: '/',
    component: resolve => require(['@/views/index.vue'], resolve),
    children: [
      {
        path: '/nlp',
        component: resolve => require(['@/views/nlp/index.vue'], resolve),
        meta: {moduleId: 'nlp', title: '项目'}
      },
      {
        path: '/kg',
        component: resolve => require(['@/views/kg/index.vue'], resolve),
        meta: {moduleId: 'kg', title: '图表', readOnly: true}
      }

    ]

  }
];

